package com.cloud.entity;

import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * 员工实体
 *
 * @author .
 * created in 2020/1/10 16:17
 */

@Data
@ToString
public class Employee {

    private Integer id;
    private String name;
    private String code;
    private String password;
    private String creater;
    private Date ctime;
    private Integer status;
    private Integer lock;
    private Date ltime;
    private String updater;
    private Date utime;
    private String phone;
    private String address;
    private String email;
    private Integer gender;

    public Employee() {}

    public Employee(Integer id) {
        this.id = id;
    }

    public Employee(String name) {
        this.name = name;
        this.password = password;
    }

}
